/**
 * Copyright (c) 2018, Alex. All rights reserved.
 */
package com.oschina.bottle.coder.symmetric;

/**
 * 非对称算法
 *
 * @author <a href="mailto:zhongchao@gegejia.com">zhong</a>
 * @version 1.0 2018/1/4
 * @since 1.0
 */
public class SymmetricAlgorithm {

    /**
     * 算法名称
     */
    private String name;

    /**
     * 长度
     */
    private int length;

    /**
     * 填充方式
     */
    private String padding;

    public SymmetricAlgorithm(String name, int length, String padding) {
        this.name = name;
        this.length = length;
        this.padding = padding;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getLength() {
        return length;
    }

    public void setLength(int length) {
        this.length = length;
    }

    public String getPadding() {
        return padding;
    }

    public void setPadding(String padding) {
        this.padding = padding;
    }
}
